package com.learnpackeg.Student;

public class Student {
    private int id;
    private String name;
    private int age;
    private String phone;
    private String email;
    private String sex;

    public Student()
    {

    }

    public Student(int id, String name, int age, String phone, String email, String sex) {
        this.id = id;
        this.name = name;
        this.age = age;
        this.phone = phone;
        this.email = email;
        this.sex = sex;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", phone='" + phone + '\'' +
                ", email='" + email + '\'' +
                ", sex='" + sex + '\'' +
                '}';
    }

};
